package com.yunxin.core.domain.model.channel;

/**
 * @author zero°
 * @since 2023-12-14
 */
public interface ChannelCustomerApplyLibraryRecordRepository {

    /**
     * 保存
     * @param channelCustomerApplyLibraryRecord channelCustomerApplyLibraryRecord
     * @return boolean
     */
    boolean saveChannelCustomerApplyLibraryRecord(ChannelCustomerApplyLibraryRecord channelCustomerApplyLibraryRecord);

    /**
     * 更新
     * @param channelCustomerApplyLibraryRecord channelCustomerApplyLibraryRecord
     * @return boolean
     */
    boolean updateChannelCustomerApplyLibraryRecord(ChannelCustomerApplyLibraryRecord channelCustomerApplyLibraryRecord);

    /**
     * 根据撞库号获取
     * @param libraryNo libraryNo
     * @return ChannelCustomerApplyLibraryRecord
     */
    ChannelCustomerApplyLibraryRecord getChannelCustomerApplyLibraryRecordByLibraryNo(String libraryNo);
}
